﻿<Page x:Class="PTCScheduler.FileMenu_Pages.Add_CounselorPage"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
      mc:Ignorable="d" 
      d:DesignHeight="480" d:DesignWidth="825"
	Title="Add New Counselor">

    <Grid>
        <Grid Style="{StaticResource PageStyle}" >
            <Label Content="First Name:" Height="28" HorizontalAlignment="Left" Margin="26,85,0,0" Name="lblCounselorFName" Style="{StaticResource LabelStyle}" VerticalAlignment="Top" />
            <TextBox Height="23" HorizontalAlignment="Left" Margin="115,87,0,0" Name="txtCounselorFName" VerticalAlignment="Top" Width="170" MaxLength="20" />
            <Label Content="Last Name:" Height="28" HorizontalAlignment="Left" Margin="24,128,0,0" Name="lblCounselorLName" Style="{StaticResource LabelStyle}" VerticalAlignment="Top" />
            <TextBox Height="23" HorizontalAlignment="Left" Margin="115,130,0,0" Name="txtCounselorLName" VerticalAlignment="Top" Width="170" MaxLength="20" />
            <Label Content="Email:" Height="28" HorizontalAlignment="Left" Margin="26,171,0,0" Name="lblEmail" Style="{StaticResource LabelStyle}" VerticalAlignment="Top" />
            <TextBox Height="23" HorizontalAlignment="Left" Margin="115,173,0,0" Name="txtCounselorEmail" VerticalAlignment="Top" Width="170" MaxLength="40" />
            <Button Click="btnSubmit_Click" Content="Submit" FontSize="14" Height="40" HorizontalAlignment="Left" Margin="195,215,0,0" Name="btnSubmit" Style="{StaticResource ButtonStyle}" VerticalAlignment="Top" Width="90" />
            <TextBlock Background="CornflowerBlue" FontFamily="Arial" FontStretch="Normal" FontWeight="Bold" Foreground="White" Height="63" HorizontalAlignment="Left" Name="textBlock1" Text="Please enter counselor information below and click submit button to add new counselor." TextTrimming="None" TextWrapping="Wrap" VerticalAlignment="Top" Width="315" Style="{StaticResource InstructionsStyle}" />
        </Grid><!--End Grid-->
        <Grid Margin="306,0,0,0" Background="White">
            <DataGrid Margin="15,52,26,29" Name="dataGridCounselor" Style="{StaticResource DataGridViewStyle}" />
            <Label Content="Updated Record: " Height="28" HorizontalAlignment="Left" Margin="15,18,0,0" Name="lblUpdatedRecord" Style="{StaticResource LabelStyle}" VerticalAlignment="Top" />
            <Label Content="Counselor has been added successfully." Foreground="DarkGreen" Height="28" HorizontalAlignment="Left" Margin="148,18,0,0" Name="lblCounselorSuccess" Style="{StaticResource LabelStyle}" VerticalAlignment="Top" Visibility="Hidden" />
            <Label Content="Please enter a valid email. example@example.com" Foreground="Red" Height="28" HorizontalAlignment="Left" Margin="23,87,0,0" Name="lblValidEmail" Style="{StaticResource LabelStyle}" VerticalAlignment="Top" Visibility="Hidden" />
            <Label Content="Please ensure all information is provided. " Foreground="Red" Height="28" HorizontalAlignment="Left" Margin="23,87,0,0" Name="lblProvideAllInfo" Style="{StaticResource LabelStyle}" VerticalAlignment="Top" Visibility="Hidden" />
            <Label Content="Counselor already exists." Foreground="Red" Height="28" HorizontalAlignment="Left" Margin="23,87,0,0" Name="lblCounselorExists" Style="{StaticResource LabelStyle}" VerticalAlignment="Top" Visibility="Hidden" />
            <Label Content="Please enter a valid name" Foreground="Red" Height="28" HorizontalAlignment="Left" Margin="23,87,0,0" Name="lblValidName" Style="{StaticResource LabelStyle}" VerticalAlignment="Top" Visibility="Hidden" />
        </Grid>
    </Grid>
</Page>
